<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Mar 11, 2013 12:24:15 AM by Hibernate Tools 3.2.1.GA -->
<hibernate-mapping>
    <class name="com.edu.hre.db.pojo.HreSurveyTopic" table="hre_survey_topic" catalog="hrentry_db">
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="identity" />
        </id>
        <property name="name" type="string">
            <column name="name" length="445" not-null="true" />
        </property>
        <property name="subunitId" type="int">
            <column name="subunit_id" not-null="true" />
        </property>
        <property name="startDate" type="date">
            <column name="start_date" length="10" not-null="true" />
        </property>
        <property name="endDate" type="date">
            <column name="end_date" length="10" not-null="true" />
        </property>
        <property name="userCreated" type="int">
            <column name="user_created" not-null="true" />
        </property>
        <property name="dateCreated" type="date">
            <column name="date_created" length="10" />
        </property>
        <property name="dateModified" type="date">
            <column name="date_modified" length="10" />
        </property>
        <property name="showToAll" type="boolean">
            <column name="show_to_all"/>
        </property>
    </class>
</hibernate-mapping>
